package com.feeyo.prophet.pojo.enums;

public enum ContentTypeEnum {
    // 文本
    TEXT("text", "文本"),
    // 图表
    CHART("chart", "图表"),
    //
    EXCEL("excel", "表格"),
    // 链接
    LINK("link", "链接"),
    // 图片
    IMAGE("image", "图片");

    public final String code;
    public final String desc;

    ContentTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
